package com.internetCafes.spms.web.tenant.model;

import com.alibaba.fastjson.annotation.JSONField;
import java.io.Serializable;
import java.util.Date;


/**
 * 租户信息表
 * 
 * @author Sunny
 * @email rekeeper2011@hotmail.com
 * @date 2019-11-26 20:41:13
 */
public class TenantInfo implements Serializable {

	private static final long serialVersionUID = 1L;
	
    /**
     * 本表id
     */
	private Long tenantId;

    /**
     * 租户类型
     */
	private Integer type;

    /**
     * 租户名称
     */
	private String tenantName;

    /**
     * 组织机构代码
     */
	private String certificateCode;

    /**
     * 注册资本
     */
	private Double registeredCapital;

    /**
     * 企业法人
     */
	private String businessEntity;

    /**
     * 企业法人电话
     */
	private String businessEntityTel;

    /**
     * 企业法人手机号
     */
	private String businessEntityMobile;

    /**
     * 电子邮箱
     */
	private String businessEntityEmail;

    /**
     * 联系人
     */
	private String contactPerson;

    /**
     * 联系人电话
     */
	private String contactPersonTel;

    /**
     * 联系人手机号
     */
	private String contactPersonMobile;

    /**
     * 所在区域
     */
	private String region;

    /**
     * 租户地址
     */
	private String address;

    /**
     * 邮政编码
     */
	private String zip;

    /**
     * 资质证书照片路径
     */
	private String certificatePicPath;

    /**
     * 组织机构代码证照片路径
     */
	private String orgCertificatePicPath;

    /**
     * 状态 0：无效，1：有效
     */
	private Integer status;

    /**
     * 创建人
     */
	private Long createBy;

    /**
     * 创建时间
     */
	private Date createTime;

    /**
     * 修改人
     */
	private Long updateBy;

    /**
     * 修改时间
     */
	private Date updateTime;


	public TenantInfo(){}

	public TenantInfo(String tenantName, String certificateCode, String contactPerson, String contactPersonMobile) {
		this.tenantName = tenantName;
		this.contactPerson = contactPerson;
		this.contactPersonMobile = contactPersonMobile;
		this.certificateCode = certificateCode;
		this.createTime = new Date();
	}

	@JSONField(name = "tenant_id")
	public void setTenantId(Long tenantId) {
		this.tenantId = tenantId;
	}

	public Long getTenantId() {
		return tenantId;
	}

	@JSONField(name = "type")
	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getType() {
		return type;
	}

	@JSONField(name = "tenant_name")
	public void setTenantName(String tenantName) {
		this.tenantName = tenantName;
	}

	public String getTenantName() {
		return tenantName;
	}

	@JSONField(name = "certificate_code")
	public void setCertificateCode(String certificateCode) {
		this.certificateCode = certificateCode;
	}

	public String getCertificateCode() {
		return certificateCode;
	}

	@JSONField(name = "registered_capital")
	public void setRegisteredCapital(Double registeredCapital) {
		this.registeredCapital = registeredCapital;
	}

	public Double getRegisteredCapital() {
		return registeredCapital;
	}

	@JSONField(name = "business_entity")
	public void setBusinessEntity(String businessEntity) {
		this.businessEntity = businessEntity;
	}

	public String getBusinessEntity() {
		return businessEntity;
	}

	@JSONField(name = "business_entity_tel")
	public void setBusinessEntityTel(String businessEntityTel) {
		this.businessEntityTel = businessEntityTel;
	}

	public String getBusinessEntityTel() {
		return businessEntityTel;
	}

	@JSONField(name = "business_entity_mobile")
	public void setBusinessEntityMobile(String businessEntityMobile) {
		this.businessEntityMobile = businessEntityMobile;
	}

	public String getBusinessEntityMobile() {
		return businessEntityMobile;
	}

	@JSONField(name = "business_entity_email")
	public void setBusinessEntityEmail(String businessEntityEmail) {
		this.businessEntityEmail = businessEntityEmail;
	}

	public String getBusinessEntityEmail() {
		return businessEntityEmail;
	}

	@JSONField(name = "contact_person")
	public void setContactPerson(String contactPerson) {
		this.contactPerson = contactPerson;
	}

	public String getContactPerson() {
		return contactPerson;
	}

	@JSONField(name = "contact_person_tel")
	public void setContactPersonTel(String contactPersonTel) {
		this.contactPersonTel = contactPersonTel;
	}

	public String getContactPersonTel() {
		return contactPersonTel;
	}

	@JSONField(name = "contact_person_mobile")
	public void setContactPersonMobile(String contactPersonMobile) {
		this.contactPersonMobile = contactPersonMobile;
	}

	public String getContactPersonMobile() {
		return contactPersonMobile;
	}

	@JSONField(name = "region")
	public void setRegion(String region) {
		this.region = region;
	}

	public String getRegion() {
		return region;
	}

	@JSONField(name = "address")
	public void setAddress(String address) {
		this.address = address;
	}

	public String getAddress() {
		return address;
	}

	@JSONField(name = "zip")
	public void setZip(String zip) {
		this.zip = zip;
	}

	public String getZip() {
		return zip;
	}

	@JSONField(name = "certificate_pic_path")
	public void setCertificatePicPath(String certificatePicPath) {
		this.certificatePicPath = certificatePicPath;
	}

	public String getCertificatePicPath() {
		return certificatePicPath;
	}

	@JSONField(name = "org_certificate_pic_path")
	public void setOrgCertificatePicPath(String orgCertificatePicPath) {
		this.orgCertificatePicPath = orgCertificatePicPath;
	}

	public String getOrgCertificatePicPath() {
		return orgCertificatePicPath;
	}

	@JSONField(name = "status")
	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getStatus() {
		return status;
	}

	@JSONField(name = "create_by")
	public void setCreateBy(Long createBy) {
		this.createBy = createBy;
	}

	public Long getCreateBy() {
		return createBy;
	}

	@JSONField(name = "create_time")
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getCreateTime() {
		return createTime;
	}

	@JSONField(name = "update_by")
	public void setUpdateBy(Long updateBy) {
		this.updateBy = updateBy;
	}

	public Long getUpdateBy() {
		return updateBy;
	}

	@JSONField(name = "update_time")
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}
}
